package ast;

public class Abbreviation implements Expression {

	private Type type;
	private Expression datum;

	public static enum Type {
		Quote, BackQuote, Comma, CommaAt
	}

	public Abbreviation(Type type, Expression datum) {
		this.type = type;
		this.datum = datum;
	}

	public Type getType() {
		return type;
	}

	public Expression getDatum() {
		return datum;
	}

	@Override
	public void accept(Visitor visitor) {
		visitor.visitAbbreviation(this);
	}

}
